package com.vaadin.demo.tunes;

import javax.servlet.annotation.WebServlet;

import com.vaadin.annotations.Theme;
import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.UI;

/**
 * 
 * @author u123183
 *
 */
@Theme("tunes")
@SuppressWarnings("serial")
public class VaadinTunesUI extends UI {
    @WebServlet(value = { "/tunesdemo/*", "/VAADIN/*" }, asyncSupported = true)
    @VaadinServletConfiguration(productionMode = false, ui = VaadinTunesUI.class, widgetset = "com.vaadin.demo.AppWidgetSet")
    public static class Servlets extends VaadinServlet {
    }


    @Override
    protected void init(VaadinRequest request) {
        setContent(new VaadinTunesView());
        addStyleName("tunes");
    }
}

